package cn.demo.client.domain.dto;

import cn.demo.common.utils.bean.BeanUtils;
import cn.demo.pm.domain.PmStoreOrder;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class OrderQueryDto {

    @Schema(description = "订单状态(字典:pm_order_status)")
    private Integer orderStatus;

    public PmStoreOrder toEntry(){
        return BeanUtils.copy(this,PmStoreOrder.class);
    }
}
